package com.heima.common.constants;

public class ArticleContants {

    public static final short LOAD_TYPE_MORE = 1;

    public static final short LOAD_TYPE_NEW = 2;

    public static final String DEFAULT_TAG = "__all__";

    /**
     * 热文章计算阅读权重
     */
    public static final Integer HOT_ARTICLE_VIEW_WEIGHT = 1;
    /**
     * 热文章计算点赞权重
     */
    public static final Integer HOT_ARTICLE_LIKE_WEIGHT = 3;
    /**
     * 热文章计算评论权重
     */
    public static final Integer HOT_ARTICLE_COMMENT_WEIGHT = 5;
    /**
     * 热文章计算收藏权重
     */
    public static final Integer HOT_ARTICLE_COLLECT_WEIGHT = 8;

    public static final String HOT_ARTICLE_PREFIX = "HOT_ARTICLE_";

    public static final String HOT_ARTICLE_HASH = "HOT_ARTICLE_HASH";

    public static final Integer LOAD_MORE = "LOAD_MORE";

}